function cyby
{
	clear
	chmod +x ./option/cyby.sh
	bash ./option/cyby.sh
}

function fzby
{
	nano ./option/fzby
}

function cdd
{
	clear
	chmod +x ./option/cdd.sh
	bash ./option/cdd.sh
}

function minecraft
{
	chmod +x ./minecraft/menu1.sh
	bash ./minecraft/menu1.sh
}

function menu1
{
	clear
	echo -e " —————————————————————————————————————————————————————————————————————————————————————————————————— "
	echo -e "|  __          __  _                            |  _          _                             _      |"
	echo -e "|  \ \        / / | |                           | | |        (_)                           (_)     |"
	echo -e "|   \ \  /\  / /__| | ___ ___  _ __ ___   ___   | | |__   ___ _ _ __ ___   ___ _ __   __ _  _      |"
	echo -e "|    \ \/  \/ / _ \ |/ __/ _ \| |_ | _ \ / _ \  | |  _ \ / _ \ | |_ | _ \ / _ \ |_ \ / _| || |     |"
	echo -e "|     \  /\  /  __/ | (_| (_) | | | | | |  __/  | | |_) |  __/ | | | | | |  __/ | | | (_| || |     |"
	echo -e "|      \/  \/ \___|_|\___\___/|_| |_| |_|\___|  | |_ __/ \___|_|_| |_| |_|\___|_| |_|\__, || |     |"
	echo -e "|                                               |                                      / / / |     |"
	echo -e "|                                               |                                   |___/ |__/     |"
	echo -e " ——————————————————————————————————————————————————————————————————————————————————————————————————

	"
	echo -e "\t\t\t\t\t\t ༺ཌༀൢ༒ൢༀད༻"
	echo -e "\t\t\t\t\t\t 工具菜单"
	echo -e "\t\t\t\t 1. 初音未来保佑你"
	echo -e "\t\t\t\t 2. 佛祖保佑你"
	echo -e "\t\t\t\t 3. 曹道德保佑你"
	echo -e "\t\t\t\t 4. 我的世界服务器菜单"
	echo -e "\t\t\t\t 0. 退出\n\n"
	echo -e "                                                                               ——bilibili北门の老登"
	echo -en "\t\t输入对应的数字:"
	read -n 1 option
}

while [ 1 ]
do
	menu1
	case $option in
	0)
  	break ;;
	1)
  	cyby ;;
	2)
		fzby ;;
	3)
		cdd ;;
	4)
		minecraft ;;
	*)
		clear
		echo "你输入错了！请重试" ;;
	esac
	echo -en "\n\n\t按任意键继续"
	read -n 1 line
done
clear
